package com.jingdianjichi.project.domain.convert;

import com.jingdianjichi.project.domain.bo.SubjectLabelBo;
import com.jingdianjichi.project.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * ClassName:SubjectCategoryConverter
 * Package:com.jingdianjichi.subject.domain.convert
 * Description:
 *
 * @Author fst
 * @Create 2024/9/26 15:45
 * @Version 1.0
 */
@Mapper
public interface SubjectLabelConverter
{
    SubjectLabelConverter INSTANCE= Mappers.getMapper(SubjectLabelConverter.class);

    SubjectLabel convertBoToLabel(SubjectLabelBo subjectLabelBo);

    List<SubjectLabelBo> convertBoToLabelList(List<SubjectLabel> SubjectLabelList);
}
